<template>
  <div class="col-md-8">
    <h3 class="reply">评论回复：</h3>
    <h2 v-show="!commentList.length">暂无评论，点击左侧添加评论！！！</h2>
    <ul class="list-group">
        <Item v-for="(comment,index) in commentList" :key="comment.id" :comment="comment" 
        :deleteComment="deleteComment" :index="index"/>
    </ul>
  </div>
</template>

<script>
import Item from './Item.vue'
export default {
  name: 'Right',
  components: {
      Item,
  },
  props:{
      commentList:Array,
      deleteComment:Function,
  },
  data(){
      return{
          isShow:false,
      }
  }
}
</script>

<style scoped>

</style>
